import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Axios from 'axios'
Vue.prototype.$http = Axios

Vue.config.productionTip = false
// 解决移动端300ms延迟
// 1. 导入
import FastClick from 'fastclick'
// 2. 使用
FastClick.attach(document.body)
// 轮播图组件
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import style (<= Swiper 5.x)
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
